.p{
    width: 30px;
    height: 30px;
}
*{
    margin: 0;
    padding: 0;
}
body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}
ul{
    list-style: none;
}
nav{
    position: fixed;
    margin-right: 1120px;
    width: 300px;
    height: 850px;

}
.menus{
    margin: 50px 0;
    color: black;
    margin-top: -900px;

}
.li{
    letter-spacing: 2px;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 0;
    transition: 0.3s;
    cursor: pointer; /* Add cursor pointer to indicate clickable */
}
.menus li:hover{
    background-color: #ffa171;
}
.li .fa{
    font-size: 20px;
    width: 50px;
    height: 20px;
    text-align: center;
    margin-left: 5px;
}
.li ul{
    width: 0px;
    margin-top: 35px;
    height: 790px;
    padding: 7px;
    background-color: lightblue;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    transition: 0.3s;
}
.li ul li{
    padding: 16px 54px;
    white-space: nowrap;
    transition: 0.3s;
}
.li.active ul{ /* Use the active class to control the width */
    width: 250px;
}
.li ul li:hover{
    background-color: mistyrose;
}
